|
|
Joined: Feb 2002
Posts: 1,759
Addict
|
|
Addict
Joined: Feb 2002
Posts: 1,759 |
Hmm, This is the PM I recieved this morning, I can duplicate his problem: []Parse error: parse error, unexpected $ in /my path/forums/showthreaded.php on line 966 I keep getting that when trying to read posts in IE. Netscape can open them but it won't show everything on the screen, the post goes too far to the right and it won't scroll over far enough. =c\ Is it my comp or the site? thanks!
I checked the line number the error pointed to and its just the ?> at the end of the file. I don't see any $ anywhere 
|
|
|
|
|
Joined: Jun 2001
Posts: 3,273
That 70's Guy
|
|
That 70's Guy
Joined: Jun 2001
Posts: 3,273 |
It's hard to say without seeing the script... did you modify the script in any way?
Spaces after the ?> can cause "headers already sent" errors but I have never seen anything mention that parse errors could occur so there must be something further up in the script that's at fault...
|
|
|
|
|
Joined: Feb 2002
Posts: 1,759
Addict
|
|
Addict
Joined: Feb 2002
Posts: 1,759 |
The only thing that has been done as far as hacks to that file was the quote hack, which is basically the same thing for both threaded and flat mode, and flat works fine.
Hmm... I can send you a copy of the script if you want to look, but I'll double check where I inserted the few lines for the quote feature and make sure nothing is amiss.
|
|
|
|
|
Joined: Jun 2002
Posts: 375
Enthusiast
|
|
Enthusiast
Joined: Jun 2002
Posts: 375 |
Did you miss a ';' at the end of a line, or a " perhaps? I've gotten similar errors when I forgot one of the characters at the end of a line before the reported error line.
|
|
|
|
|
Joined: Feb 2002
Posts: 1,759
Addict
|
|
Addict
Joined: Feb 2002
Posts: 1,759 |
Hmm... This is the only thing I changed before this started happening: code: if ($reply == "on") { $replylinkstart = "<a href="{$config['phpurl']}/newreply.php?Cat=$Cat&Board=$Board&Number=$Number&page=$page&view=$view&what=showthreaded&sb=$sb&o=$o">"; $replylinkstop = "</a>"; $quotelinkstart = "<a href="{$config['phpurl']}/newreply.php?Cat=$Cat&Board=$Board&Number=$Number&page=$page&view=$view&what=showthreaded&sb=$sb&o=$o"e=y">"; $quotelinkstop = "</a>"; }
Last edited by msula; 09/10/2002 4:11 PM.
|
|
|
|
|
Joined: Jun 2001
Posts: 3,273
That 70's Guy
|
|
That 70's Guy
Joined: Jun 2001
Posts: 3,273 |
I looked and looked but it looks like that code wouldn't be the cause... lol 
|
|
|
|
|
Joined: Feb 2002
Posts: 1,759
Addict
|
|
Addict
Joined: Feb 2002
Posts: 1,759 |
I know... me too  And it was working fine, but I JUST added that hack lastnight, and when I woke up this morning I had a few PM's about it  I will try uploading a fresh showthreaded.php and see what happens
|
|
|
|
|
Joined: Feb 2002
Posts: 1,759
Addict
|
|
Addict
Joined: Feb 2002
Posts: 1,759 |
wow.. I need to stop drinking so much coffee I think. I compared it to a stock showthreaded.php and I was missing one more closing } after the code I edited, I must have somehow deleted it  I'm going back to work, I hate computers!!!
|
|
|
Donate to UBBDev today to help aid in Operational, Server and Script Maintenance, and Development costs.
Please also see our parent organization VNC Web Services if you're in the need of a new UBB.threads Install or Upgrade, Site/Server Migrations, or Security and Coding Services.
|
|
Posts: 5,834
Joined: January 2000
|
|
|
Forums63
Topics37,583
Posts293,955
Members13,824
| |
Most Online151,614 Nov 14th, 2025
|
|
Currently Online 704
Topics Created 0
Posts Made 0
Users Online 0
Birthdays 16
|
|
|
|